# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.contrib import admin
from .models import GoodsInfo, GoodsArea, GoodsCategory

# Register your models here.


@admin.register(GoodsInfo)
class GoodsInfoAdmin(admin.ModelAdmin):
    list_per_page = 10
    # fields = ["detail"]
    exclude = ["click_count"]


@admin.register(GoodsArea)
class GoodsAreaAdmin(admin.ModelAdmin):
    list_per_page = 10


@admin.register(GoodsCategory)
class GoodsCategoryAdmin(admin.ModelAdmin):
    list_per_page = 10



